[INFO] cloning repository https://github.com/JudgeGlass/chicagosdl-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JudgeGlass/chicagosdl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJudgeGlass%2Fchicagosdl-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJudgeGlass%2Fchicagosdl-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12eef57889e2ae7ab9da8f2c5c32750481afd0ba
[INFO] fixing JudgeGlass/chicagosdl-rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJudgeGlass%2Fchicagosdl-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JudgeGlass/chicagosdl-rs
[INFO] finished tweaking git repo https://github.com/JudgeGlass/chicagosdl-rs
[INFO] tweaked toml for git repo https://github.com/JudgeGlass/chicagosdl-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JudgeGlass/chicagosdl-rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JudgeGlass/chicagosdl-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sdl2 v0.38.0
[INFO] [stderr]   Downloaded sdl2-sys v0.38.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fdd3b029c10e18c8edb0ff8ca0ad346ecf8be2c17f446bce21f437c6747bb2df
[INFO] running `Command { std: "docker" "start" "fdd3b029c10e18c8edb0ff8ca0ad346ecf8be2c17f446bce21f437c6747bb2df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fdd3b029c10e18c8edb0ff8ca0ad346ecf8be2c17f446bce21f437c6747bb2df" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fdd3b029c10e18c8edb0ff8ca0ad346ecf8be2c17f446bce21f437c6747bb2df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fdd3b029c10e18c8edb0ff8ca0ad346ecf8be2c17f446bce21f437c6747bb2df" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling sdl2 v0.38.0
[INFO] [stderr]     Checking c_vec v2.0.0
[INFO] [stderr]    Compiling sdl2-sys v0.38.0
[INFO] [stderr]     Checking chicagosdl-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::component::Component`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::component::Component;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::component::Component`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::component::Component;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compositor::*`
[INFO] [stdout]   --> src/window_mgr.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::compositor::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::button::Button`
[INFO] [stdout]   --> src/window_mgr.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::button::Button;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compositor::*`
[INFO] [stdout]   --> src/window_mgr.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::compositor::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::window::Window`
[INFO] [stdout]   --> src/window_mgr.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::window::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::button::Button`
[INFO] [stdout]   --> src/window_mgr.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::button::Button;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::window::Window`
[INFO] [stdout]   --> src/window_mgr.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::window::Window;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:46:16
[INFO] [stdout]    |
[INFO] [stdout] 46 |     b.on_click(disable_button);
[INFO] [stdout]    |       -------- ^^^^^^^^^^^^^^ incorrect number of function parameters
[INFO] [stdout]    |       |
[INFO] [stdout]    |       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn()`
[INFO] [stdout]                  found fn item `fn(button::Button) {disable_button}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/button.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn on_click(&mut self, callback: fn()) {
[INFO] [stdout]    |            ^^^^^^^^            --------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:46:16
[INFO] [stdout]    |
[INFO] [stdout] 46 |     b.on_click(disable_button);
[INFO] [stdout]    |       -------- ^^^^^^^^^^^^^^ incorrect number of function parameters
[INFO] [stdout]    |       |
[INFO] [stdout]    |       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn()`
[INFO] [stdout]                  found fn item `fn(button::Button) {disable_button}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/button.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn on_click(&mut self, callback: fn()) {
[INFO] [stdout]    |            ^^^^^^^^            --------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui_texture`
[INFO] [stdout]   --> src/button.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         ui_texture: &mut ChicagoSDLTexture,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_texture`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui_texture`
[INFO] [stdout]   --> src/button.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         ui_texture: &mut ChicagoSDLTexture,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_texture`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chicagosdl-rs` (bin "chicagosdl-rs" test) due to 1 previous error; 10 warnings emitted
[INFO] [stdout] warning: unused variable: `canvas`
[INFO] [stdout]   --> src/window.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         canvas: &mut WindowCanvas,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `canvas`
[INFO] [stdout]   --> src/window.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         canvas: &mut WindowCanvas,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `font_texture`
[INFO] [stdout]   --> src/window.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         font_texture: &mut ChicagoSDLTexture,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `font_texture`
[INFO] [stdout]   --> src/window.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         font_texture: &mut ChicagoSDLTexture,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui_texture`
[INFO] [stdout]   --> src/window.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         ui_texture: &mut ChicagoSDLTexture,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window`
[INFO] [stdout]   --> src/window.rs:22:26
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn update(&mut self, window: &mut WindowMgr) {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui_texture`
[INFO] [stdout]   --> src/window.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         ui_texture: &mut ChicagoSDLTexture,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window`
[INFO] [stdout]   --> src/window.rs:22:26
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn update(&mut self, window: &mut WindowMgr) {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn disable_button(b: Button) {}
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn disable_button(b: Button) {}
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chicagosdl-rs` (bin "chicagosdl-rs") due to 1 previous error; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fdd3b029c10e18c8edb0ff8ca0ad346ecf8be2c17f446bce21f437c6747bb2df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdd3b029c10e18c8edb0ff8ca0ad346ecf8be2c17f446bce21f437c6747bb2df", kill_on_drop: false }`
[INFO] [stdout] fdd3b029c10e18c8edb0ff8ca0ad346ecf8be2c17f446bce21f437c6747bb2df
